
import 'package:json_annotation/json_annotation.dart';

import 'git_branch.dart';

part 'git_commit.g.dart';  // 添加这一行
@JsonSerializable()
class GitCommit {
  final String sha;
  final CommitBean commit;
  GitCommit({
    required this.sha,
    required this.commit,
  });
  factory GitCommit.fromJson(Map<String, dynamic> json) => _$GitCommitFromJson(json);
}